package com.lzq.treefold.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lzq
 * @since 2025-06-06
 */
@Getter
@Setter
@ToString
public class File implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    private String name;

    private Integer type;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long fatherId;

    private Integer fileNum;
}
